package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2019-04-11
 */
@TableName("t_kehu")
public class Kehu extends Model<Kehu> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 姓名
     */
	private String name;
    /**
     * 商家名
     */
	private String mname;
    /**
     * 行业类型
     */
	private String hytype;
	private String hyname;
    /**
     * 手机号
     */
	private String phone;
    /**
     * 座机号
     */
	private String telephone;
    /**
     * 地区
     */
	private String area;
	private String areacode;

	private String shi;

	private String shicode;
    /**
     * 地址
     */
	private String address;
	private String remark;
    /**
     * 经度
     */
	private Double longitude;
    /**
     * 纬度
     */
	private Double latitude;
    /**
     * 邮箱
     */
	private String email;
    /**
     * 网址
     */
	private String website;
    /**
     * 启用状态
     */
	private Integer state;

	@TableField("is_wxuser")
	private Integer isWxuser;

	private Date createtime;
	private Date modifytime;
	private Long modifier;
	private String modifyname;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getHytype() {
		return hytype;
	}

	public void setHytype(String hytype) {
		this.hytype = hytype;
	}

	public String getHyname() {
		return hyname;
	}

	public void setHyname(String hyname) {
		this.hyname = hyname;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAreacode() {
		return areacode;
	}

	public void setAreacode(String areacode) {
		this.areacode = areacode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Integer getIsWxuser() {
		return isWxuser;
	}

	public void setIsWxuser(Integer isWxuser) {
		this.isWxuser = isWxuser;
	}

	public String getShi() {
		return shi;
	}

	public void setShi(String shi) {
		this.shi = shi;
	}

	public String getShicode() {
		return shicode;
	}

	public void setShicode(String shicode) {
		this.shicode = shicode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	public String getModifyname() {
		return modifyname;
	}

	public void setModifyname(String modifyname) {
		this.modifyname = modifyname;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Kehu{" +
			"id=" + id +
			", name=" + name +
			", mname=" + mname +
			", hytype=" + hytype +
			", hyname=" + hyname +
			", phone=" + phone +
			", telephone=" + telephone +
			", area=" + area +
			", areacode=" + areacode +
			", address=" + address +
			", longitude=" + longitude +
			", latitude=" + latitude +
			", email=" + email +
			", website=" + website +
			", state=" + state +
			", createtime=" + createtime +
			", modifytime=" + modifytime +
			"}";
	}
}
